package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreTrashBox;
import com.fujitsu.nanjing.tieba.ibator.CoreTrashBoxCriteria;
import com.fujitsu.nanjing.tieba.ibator.CoreTrashBoxKey;
import java.util.List;

public interface CoreTrashBoxDAO {
    int countByExample(CoreTrashBoxCriteria example);

    int deleteByExample(CoreTrashBoxCriteria example);

    int deleteByPrimaryKey(CoreTrashBoxKey _key);

    void insert(CoreTrashBox record);

    void insertSelective(CoreTrashBox record);

    List<CoreTrashBox> selectByExample(CoreTrashBoxCriteria example);

    CoreTrashBox selectByPrimaryKey(CoreTrashBoxKey _key);

    int updateByExampleSelective(CoreTrashBox record, CoreTrashBoxCriteria example);

    int updateByExample(CoreTrashBox record, CoreTrashBoxCriteria example);

    int updateByPrimaryKeySelective(CoreTrashBox record);

    int updateByPrimaryKey(CoreTrashBox record);
}